package org.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName: Fsk App
 * @Copyright: com.fsk
 * @Version: 1.0.0
 * @Author: CHEN Ming
 * @UpdateTime: 3/6/2022 3:30 PM
 * @Describe: XXXXXXX.
 */
@Controller
public class TestController {
    @RequestMapping("/")
    public String index() {
        // 此处使用的是转发，将/请求转发到了请求index.html
        return "index";
    }
}
